home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
(A)G
/
(A)G11.ADF
/
Cards'O'Rama
/
Sources
/
About_These_Files
< prev
next >
Wrap
Text File
|
1989-08-17
|
4KB
|
108 lines
WARNING: Cards'O'Rama and its code are freely distributable as long as this
notice and this file are retained in the same distribution disk.
Anyway, Cards'O'Rama and its code cannot be sold for profit or included in
any commercial program or publication without the written consent of the
author.
Cards'O'Rama is written by Werther Pirani.
January 29, 1989
ABOUT THESE FILES
-----------------
This directory contains the source files for Cards'O'Rama 1.0. If you are
an experienced C programmer, you might find this code a little bit clumsy but
please consider that this is my first lengthy program after a series of
simple exercises. Anyway, I've tried to be as clear as possible and, where
necessary, I've included some remarks to explain what I was trying to do.
If you wish to do so, you can modify this code as long as the following
restrictions are respected:
1) You *can't* modify the contents of the requesters that pops up when you
select 'Thanks' and 'About' from the 'Program' menu;
2) You *can't* modify the title bar;
3) You *can't* modify the messages that are displayed in the bottom of the
screen during the game with messages that might be offensive or obscene.
If you want to modify such messages, watch your tongue...
4) Generally speaking, you *can't* use offensive or obscene text inside this
code, whether modifying the existing one or inserting new text;
DIRECTORY CONTENTS
------------------
About_These_Files THIS file!
amigamoves.c
deletecard.c
displaycards.c
displaydata.c
event.c
* game.c See the note below
gameloop.c
initrequesters.c
intascii.c
menupick.c
menustuff.h
* mycards.c See the note below
mydefines.h
* mygadgets.c See the note below
myscreen.h
mywindow.h
shufflecards.c
update.c
writestring.c
NOTE: The three files checked with the '*' sign, must be compiled separately
and then linked together. The file game.c #includes all the others while
mycards.c and mygadgets.c contains all the images and the structures needed
to display the cards and the gadgets.
COMPILING THESE FILES
---------------------
I use Lattice 4.0 but, as stated above, I'm a novice and so I'm still
not very good at compiling. Anyway, I've moved all these files in RAM: and
then I've followed these steps:
1) lc -b -r -v game
2) lc -b -r -v mycards
3) lc -b -r -v mygadgets
4) BLINK lib:c.o game.o mycards.o mygadgets.o TO Cards'O'Rama LIB lib:lc.lib
lib:amiga.lib lib:lcm.lib SMALLCODE SMALLDATA NODEBUG
I told you: you can certainly do something better! Anyway the use of the
lcm.lib at linking time it's necessary since ther's a function called
customrand() that needs some floating point math to generate a random number
and, at this time, I haven't had the time to experimenth with the Amiga math
functions...
CONCLUSION
----------
I would like to receive comments and suggestions about this code and
about compiling tricks too! I'm eager to improve and so I'm looking forward
to hear it from you. You can contact me at the following address:
Werther Pirani
Via Mario Torresi, 74
60128 Ancona
ITALY
Sincerely,
Werther Pirani